package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


@TableName("weixiujindu")
public class WeixiujinduEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public WeixiujinduEntity() {
		
	}
	
	public WeixiujinduEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	

    @TableId(type = IdType.AUTO)
    private Long id;
	/**
	 * 报修单号
	 */
					
	private String baoxiudanhao;
	
	/**
	 * 设备名称
	 */
					
	private String shebeimingcheng;
	
	/**
	 * 处理图片
	 */
					
	private String chulitupian;
	
	/**
	 * 处理进度
	 */
					
	private String chulijindu;
	
	/**
	 * 配件名称
	 */
					
	private String peijianmingcheng;
	
	/**
	 * 申领说明
	 */
					
	private String shenlingshuoming;
	
	/**
	 * 进度说明
	 */
					
	private String jindushuoming;
	
	/**
	 * 设备员
	 */
					
	private String zhanghao;
	
	/**
	 * 处理时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	@DateTimeFormat 		
	private Date chulishijian;
	
	/**
	 * 工号
	 */
					
	private String gonghao;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：报修单号
	 */
	public void setBaoxiudanhao(String baoxiudanhao) {
		this.baoxiudanhao = baoxiudanhao;
	}
	/**
	 * 获取：报修单号
	 */
	public String getBaoxiudanhao() {
		return baoxiudanhao;
	}
	/**
	 * 设置：设备名称
	 */
	public void setShebeimingcheng(String shebeimingcheng) {
		this.shebeimingcheng = shebeimingcheng;
	}
	/**
	 * 获取：设备名称
	 */
	public String getShebeimingcheng() {
		return shebeimingcheng;
	}
	/**
	 * 设置：处理图片
	 */
	public void setChulitupian(String chulitupian) {
		this.chulitupian = chulitupian;
	}
	/**
	 * 获取：处理图片
	 */
	public String getChulitupian() {
		return chulitupian;
	}
	/**
	 * 设置：处理进度
	 */
	public void setChulijindu(String chulijindu) {
		this.chulijindu = chulijindu;
	}
	/**
	 * 获取：处理进度
	 */
	public String getChulijindu() {
		return chulijindu;
	}
	/**
	 * 设置：配件名称
	 */
	public void setPeijianmingcheng(String peijianmingcheng) {
		this.peijianmingcheng = peijianmingcheng;
	}
	/**
	 * 获取：配件名称
	 */
	public String getPeijianmingcheng() {
		return peijianmingcheng;
	}
	/**
	 * 设置：申领说明
	 */
	public void setShenlingshuoming(String shenlingshuoming) {
		this.shenlingshuoming = shenlingshuoming;
	}
	/**
	 * 获取：申领说明
	 */
	public String getShenlingshuoming() {
		return shenlingshuoming;
	}
	/**
	 * 设置：进度说明
	 */
	public void setJindushuoming(String jindushuoming) {
		this.jindushuoming = jindushuoming;
	}
	/**
	 * 获取：进度说明
	 */
	public String getJindushuoming() {
		return jindushuoming;
	}
	/**
	 * 设置：设备员
	 */
	public void setZhanghao(String zhanghao) {
		this.zhanghao = zhanghao;
	}
	/**
	 * 获取：设备员
	 */
	public String getZhanghao() {
		return zhanghao;
	}
	/**
	 * 设置：处理时间
	 */
	public void setChulishijian(Date chulishijian) {
		this.chulishijian = chulishijian;
	}
	/**
	 * 获取：处理时间
	 */
	public Date getChulishijian() {
		return chulishijian;
	}
	/**
	 * 设置：工号
	 */
	public void setGonghao(String gonghao) {
		this.gonghao = gonghao;
	}
	/**
	 * 获取：工号
	 */
	public String getGonghao() {
		return gonghao;
	}

}
